﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Asset/EassetMaster.master" AutoEventWireup="true" CodeBehind="ARNAuthorizationForm.aspx.cs" Inherits="Eassets.UI.Asset.ARNAuthorizationForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <br />
    <br />
    <div class="formtitle">
        <asp:Label ID="labelFormTitle" runat="server" Text="Transaction Authorization"></asp:Label>
    </div>
    <br />
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div class="formfield">
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="labelOrganizationLevelList" runat="server" Text="Organization Level List"
                                    CssClass="legendlabel_size1"></asp:Label>
                                <asp:DropDownList ID="dropDownListOrganizationLevelList" runat="server" CssClass="select"
                                    AutoPostBack="true" OnSelectedIndexChanged="dropDownListOrganizationLevelList_SelectedIndexChanged"
                                    AppendDataBoundItems="True">
                                    <asp:ListItem Value="0" Text="-Select-" Selected="True"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td>
                            </td>
                            <td align="right" width="">
                                <asp:Label ID="labelDate" runat="server" Text="Date" CssClass="legendlabel_size1"></asp:Label>
                                <asp:TextBox ID="textBoxDate" runat="server" CssClass="disable_textbox1" Width="150px"
                                    MaxLength="8"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div>
                    <asp:GridView ID="gridViewTransactionsToBeAuthorized" runat="server" Caption="Transactions To Be Authorized"
                        CssClass="ColStyle" EmptyDataText="No data to display" AllowPaging="True" PageSize="10"
                        AutoGenerateColumns="False" Width="100%" OnSelectedIndexChanged="gridViewTransactionsToBeAuthorized_SelectedIndexChanged">
                        <RowStyle CssClass="RowStyle" />
                        <AlternatingRowStyle CssClass="AltRowStyle" />
                        <HeaderStyle CssClass="GridHeader" />
                        <SelectedRowStyle CssClass="SelectedRowStyle" />
                        <Columns>
                            <asp:CommandField ItemStyle-Width="2" ShowSelectButton="True" ButtonType="Image" SelectImageUrl="~/styles/images/Select_icon_button.gif" />
                            <asp:BoundField HeaderText="Transaction No" DataField="TransactionNo" ItemStyle-Width="60" />
                            <asp:BoundField HeaderText="Transaction Date" DataField="TransactionDate" ItemStyle-Width="60"
                                ItemStyle-HorizontalAlign="Left" />
                            <asp:BoundField HeaderText="Transaction Status" DataField="TransactionStatus" ItemStyle-Width="10"
                                ItemStyle-HorizontalAlign="Left" />
                        </Columns>
                    </asp:GridView>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div>
                    <asp:GridView ID="gridViewItemDetails" runat="server" Caption="Item Details" CssClass="ColStyle"
                        EmptyDataText="No data to display" AllowPaging="True" PageSize="10" AutoGenerateColumns="False"
                        Width="100%">
                        <RowStyle CssClass="RowStyle" />
                        <AlternatingRowStyle CssClass="AltRowStyle" />
                        <HeaderStyle CssClass="GridHeader" />
                        <SelectedRowStyle CssClass="SelectedRowStyle" />
                        <Columns>
                            <asp:CommandField ItemStyle-Width="20" ShowSelectButton="True" ButtonType="Image"
                                SelectImageUrl="~/styles/images/Select_icon_button.gif" />
                        
                                <asp:TemplateField ItemStyle-Width="80" HeaderText="Asset Code" Visible="True">
                                <ItemTemplate>
                                    <asp:Label ID="labelAssetCode" runat="server" Text='<%# Eval("Assets.Code") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="Quantity" DataField="Quantity" ItemStyle-Width="120"
                                ItemStyle-HorizontalAlign="Right" />
                            <asp:BoundField HeaderText="UnitOfMeasure" DataField="UnitOfMeasure" ItemStyle-Width="120"
                                ItemStyle-HorizontalAlign="Right" />
                        </Columns>
                    </asp:GridView>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div class="formfield">
                    <table>
                        <tr>
                            <td style="width: 80%">
                                <asp:Label ID="labelComment" runat="server" Text="Authorize Comment" CssClass="legendlabel_size1"></asp:Label>
                                <br />
                                <asp:TextBox ID="textBoxComment" runat="server" CssClass="textbox_customsize" Height="60"
                                    Width="200px" MaxLength="8"></asp:TextBox>
                            </td>
                            <td style="width: 15%" align="right">
                                <asp:Button ID="buttonAuthorize" runat="server" Text="Authorize" CssClass="button_normal" />
                            </td>
                        </tr>
                    </table>
                </div>
            </li>
        </ul>
    </fieldset>
</asp:Content>
